<?php

class IndexController extends Zend_Controller_Action
{
    public function init()
    {
        if ($this->_request->isXmlHttpRequest()) {
            $this->_helper->layout()->disableLayout();
            $response = $this->getResponse();
            $response->setHeader('Content-Type', 'text/x-json');
        } else {
            $this->_helper->layout()->setLayout('index-layout');
        }

    }

    public function indexAction()
    {
    }

}
